/**
 * Created by wangwj on 17-7-10.
 */
angular.module("MetronicApp").config(
    ['$stateProvider', '$urlRouterProvider',
        function ($stateProvider, $urlRouterProvider) {
            $urlRouterProvider.when('', '/decisionAnalysis/portray/labelSystem/list').otherwise("/404");

            $stateProvider
                .state('dashboard', {
                    url: "/dashboard",
                    templateUrl: "views/dashboard.html",
                    data: {
                        pageTitle: "首页",
                        pageBar: [
                            {
                                href: "",
                                class: "fa fa-home",
                                title: "首页"
                            }
                        ]
                    },
                    controller: "DashboardController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/DashboardController.js'
                                ]
                            });
                        }]
                    }
                })
                .state('404', {
                    url: "/404",
                    templateUrl: "views/404.html",
                    data: {
                        pageTitle: "404",
                        pageBar: [
                            {
                                href: "",
                                class: "fa fa-home",
                                title: "404"
                            }
                        ]
                    },
                    controller: "404Controller",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/404Controller.js',
                                    App.getAssetsPath() + '/pages/css/error.min.css'
                                ]
                            });
                        }]
                    }
                })
                //企业画像-挖掘算法
                .state('algorithmList', {
                    url: "/decisionAnalysis/portray/algorithm/list",
                    templateUrl: "views/decisionAnalysis/portray/algorithm/list.html",
                    data: {
                        pageTitle: '标签体系',
                        pageBar: [
                            {
                                'class': 'icon-settings',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '挖掘算法'
                            }
                        ]
                    },
                    controller: "AlgorithmListController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/algorithm/AlgorithmListController.js',
                                    'js/services/decisionAnalysis/portray/algorithm/AlgorithmService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //企业画像-挖掘算法view页面
                .state('algorithmView', {
                    url: "/decisionAnalysis/portray/algorithm/view/:id",
                    templateUrl: "views/decisionAnalysis/portray/algorithm/view.html",
                    data: {
                        pageTitle: '详情',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '挖掘算法'
                            }
                        ]
                    },
                    controller: "AlgorithmViewController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/algorithm/AlgorithmViewController.js', 'js/services/decisionAnalysis/portray/algorithm/AlgorithmService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/cityRange.js',
                                    'js/directives/echarts/cityBar.js'
                                ]
                            });
                        }]
                    }
                })
                //企业画像-挖掘算法新建和编辑页面
                .state('algorithmEdit', {
                    url: "/decisionAnalysis/portray/algorithm/edit/:id",
                    templateUrl: "views/decisionAnalysis/portray/algorithm/edit.html",
                    data: {
                        pageTitle: '详情',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '挖掘算法'
                            }
                        ]
                    },
                    controller: "AlgorithmEditController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/algorithm/AlgorithmEditController.js', 'js/services/decisionAnalysis/portray/algorithm/AlgorithmService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/cityRange.js',
                                    'js/directives/echarts/cityBar.js'
                                ]
                            });
                        }]
                    }
                })
                //企业画像-挖掘算法删除页面
                .state('algorithmDel', {
                    url: "/decisionAnalysis/portray/algorithm/del/:id",
                    templateUrl: "views/decisionAnalysis/portray/algorithm/del.html",
                    data: {
                        pageTitle: '详情',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '挖掘算法'
                            }
                        ]
                    },
                    controller: "AlgorithmDelController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/algorithm/AlgorithmDelController.js', 'js/services/decisionAnalysis/portray/algorithm/AlgorithmService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/cityRange.js',
                                    'js/directives/echarts/cityBar.js'
                                ]
                            });
                        }]
                    }
                })
                //企业画像-挖掘算法配置deploy页面
                .state('algorithmDeploy', {
                    url: "/decisionAnalysis/portray/algorithm/deploy/:id",
                    templateUrl: "views/decisionAnalysis/portray/algorithm/deploy.html",
                    data: {
                        pageTitle: '配置',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '挖掘算法'
                            }
                        ]
                    },
                    controller: "AlgorithmViewController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/algorithm/AlgorithmViewController.js', 'js/services/decisionAnalysis/portray/algorithm/AlgorithmService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/cityRange.js',
                                    'js/directives/echarts/cityBar.js'
                                ]
                            });
                        }]
                    }
                })
                //企业画像-统计页面
                .state('algorithmStatistic', {
                    url: "/decisionAnalysis/portray/algorithm/statistic",
                    templateUrl: "views/decisionAnalysis/portray/algorithm/statistic.html",
                    data: {
                        pageTitle: '统计',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '挖掘算法'
                            }
                        ]
                    },
                    controller: "AlgorithmStatisticController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/algorithm/AlgorithmStatisticController.js', 'js/services/decisionAnalysis/portray/algorithm/StatisticService.js',
                                    'js/directives/ngTable/directive2.js',
                                    'js/directives/echarts/statistic.js',
                                    'js/directives/customTab/directive.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/cityRange.js',
                                    'js/directives/echarts/cityBar.js'
                                ]
                            });
                        }]
                    }
                })
                //企业画像-标签体系
                .state('labelSystemList', {
                    url: "/decisionAnalysis/portray/labelSystem/list",
                    templateUrl: "views/decisionAnalysis/portray/labelSystem/list.html",
                    data: {
                        pageTitle: '标签体系',
                        pageBar: [
                            {
                                'class': 'icon-settings',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '标签体系'
                            }
                        ]
                    },
                    controller: "LabelSystemListController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/labelSystem/LabelSysListController.js',
                                    'js/services/decisionAnalysis/portray/labelSystem/LabelSysService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //企业画像-企业信息
                .state('informationList', {
                    url: "/decisionAnalysis/portray/information/list",
                    templateUrl: "views/decisionAnalysis/portray/information/list.html",
                    data: {
                        pageTitle: '企业信息',
                        pageBar: [
                            {
                                'class': 'icon-settings',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业信息'
                            }
                        ]
                    },
                    controller: "InformationListController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/information/InformationListController.js',
                                    'js/services/decisionAnalysis/portray/information/InformationService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                .state('informationView', {
                    url: "/decisionAnalysis/portray/information/view/:id",
                    templateUrl: "views/decisionAnalysis/portray/information/view.html",
                    data: {
                        pageTitle: '详情',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业信息'
                            }
                        ]
                    },
                    controller: "InformationViewController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/information/InformationViewController.js',
                                    'js/services/decisionAnalysis/portray/information/InformationService.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //企业画像-企业画像
                .state('businessPortraitList', {
                    url: "/decisionAnalysis/portray/businessPortrait/list",
                    templateUrl: "views/decisionAnalysis/portray/businessPortrait/list.html",
                    data: {
                        pageTitle: '企业信息',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            }
                        ]
                    },
                    controller: "BusinessPorListController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/businessPortrait/BusinessPorListController.js',
                                    'js/services/decisionAnalysis/portray/businessPortrait/BusinessPortraitService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                .state('businessPortraitView', {
                    url: "/decisionAnalysis/portray/businessPortrait/view/:id",
                    templateUrl: "views/decisionAnalysis/portray/businessPortrait/view.html",
                    data: {
                        pageTitle: '详情',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            }
                        ]
                    },
                    controller: "BusinessPorViewController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/businessPortrait/businessPorViewController.js',
                                    'js/services/decisionAnalysis/portray/businessPortrait/businessPortraitService.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //企业画像-标签检索
                .state('labelRetrievalList', {
                    url: "/decisionAnalysis/portray/labelRetrieval/list",
                    templateUrl: "views/decisionAnalysis/portray/labelRetrieval/list.html",
                    data: {
                        pageTitle: '企业信息',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '标签检索'
                            }
                        ]
                    },
                    controller: "LabelRetrievalListController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/labelRetrieval/LabelRetrievalListController.js',
                                    'js/services/decisionAnalysis/portray/labelRetrieval/LabelRetrievalService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //企业画像-标签检索view页面
                .state('labelRetrievalView', {
                    url: "/decisionAnalysis/portray/labelRetrieval/view/:id",
                    templateUrl: "views/decisionAnalysis/portray/labelRetrieval/view.html",
                    data: {
                        pageTitle: '企业信息',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '企业画像'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '标签检索'
                            }
                        ]
                    },
                    controller: "LabelRetrievalViewController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/portray/labelRetrieval/LabelRetrievalViewController.js',
                                    'js/services/decisionAnalysis/portray/labelRetrieval/LabelRetrievalService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/cityRange.js',
                                    'js/directives/echarts/cityBar.js'
                                ]
                            });
                        }]
                    }
                })
                //污染源数据造假识别-模型管理
                .state('modelManagementList', {
                    url: "/decisionAnalysis/falseRecognition/modelManagement/list",
                    templateUrl: "views/decisionAnalysis/falseRecognition/modelManagement/list.html",
                    data: {
                        pageTitle: '模型管理',
                        pageBar: [
                            {
                                'class': 'icon-settings',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '污染源数据造假识别'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '模型管理'
                            }
                        ]
                    },
                    controller: "ModelManagementListController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/services/decisionAnalysis/falseRecognition/modelManagement/ModelManagementService.js',
                                    'js/controllers/decisionAnalysis/falseRecognition/modelManagement/ModelManagementListController.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //污染源数据造假识别-造假识别
                .state('recognitionDetail', {
                    url: "/decisionAnalysis/falseRecognition/recognitionDetail/list",
                    templateUrl: "views/decisionAnalysis/falseRecognition/recognitionDetail/list.html",
                    data: {
                        pageTitle: '污染源数据造假识别',
                        pageBar: [
                            {
                                'class': 'icon-settings',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '污染源数据造假识别'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '污染源数据造假识别'
                            }
                        ]
                    },
                    controller: "RecognitionDetailController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/services/decisionAnalysis/falseRecognition/recognitionDetail/RecognitionDetailService.js',
                                    'js/controllers/decisionAnalysis/falseRecognition/recognitionDetail/RecognitionDetailController.js',
                                    'js/directives/ngTable/directive.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/gauge.js',
                                    'js/directives/echarts/pentacle.js',
                                    'js/directives/echarts/bar.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //污染源数据造假识别-造假识别公司详情
                .state('recognitionCompanyDetail', {
                    url: "/decisionAnalysis/falseRecognition/recognitionDetail/view/:id",
                    templateUrl: "views/decisionAnalysis/falseRecognition/recognitionDetail/view.html",
                    data: {
                        pageTitle: '污染源数据造假识别',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '污染源数据造假识别'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '污染源数据造假识别'
                            }
                        ]
                    },
                    controller: "RecognitionDetailViewController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/services/decisionAnalysis/falseRecognition/recognitionDetail/RecognitionDetailService.js',
                                    'js/controllers/decisionAnalysis/falseRecognition/recognitionDetail/RecognitionDetailViewController.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/gauge.js',
                                    'js/directives/echarts/pentacle.js',
                                    'js/directives/echarts/bar.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //预警预报应用深化-污染源分析
                .state('sourceAnalysisList', {
                    url: "/decisionAnalysis/prediction/sourceAnalysis/list",
                    templateUrl: "views/decisionAnalysis/prediction/sourceAnalysis/list.html",
                    data: {
                        pageTitle: '污染源分析',
                        pageBar: [
                            {
                                'class': '',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '预警预报应用深化'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '污染源分析'
                            }
                        ]
                    },
                    controller: "SourceAnalysisListController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/prediction/sourceAnalysis/SourceAnalysisListController.js',
                                    'js/services/decisionAnalysis/prediction/sourceAnalysis/SourceAnalysisService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/typePie.js',
                                    'js/directives/echarts/emissionMap.js',
                                    'js/directives/echarts/pollutionBar.js',
                                    'js/directives/echarts/industryBar.js'
                                ]
                            });
                        }]
                    }
                })
                //预警预报应用深化-周期性分析
                .state('periodicAnalysisList', {
                    url: "/decisionAnalysis/prediction/periodicAnalysis/list",
                    templateUrl: "views/decisionAnalysis/prediction/periodicAnalysis/list.html",
                    data: {
                        pageTitle: '污染源分析',
                        pageBar: [
                            {'class': '', 'href': '', 'title': '决策分析'},
                            {'class': '', 'href': '', 'title': '预警预报应用深化'},
                            {'class': '', 'href': '', 'title': '周期性分析'}
                        ]
                    },
                    controller: "PeriodicAnalysisListController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/controllers/decisionAnalysis/prediction/periodicAnalysis/PeriodicAnalysisListController.js',
                                    'js/services/decisionAnalysis/prediction/periodicAnalysis/PeriodicAnalysisService.js',
                                    'js/directives/ngTable/directive.js',
                                    'js/directives/customTab/directive.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/dayLine.js',
                                    'js/directives/echarts/weekLine.js',
                                    'js/directives/echarts/hourLine.js'

                                ]
                            });
                        }]
                    }
                })
                //预警预报应用深化-案例分析
                .state('caseAnalysisList', {
                    url: "/decisionAnalysis/prediction/caseAnalysis/list",
                    templateUrl: "views/decisionAnalysis/prediction/caseAnalysis/list.html",
                    data: {
                        pageTitle: '案例分析',
                        pageBar: [
                            {
                                'class': 'icon-settings',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '预警预报应用深化'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '案例分析'
                            }
                        ]
                    },
                    controller: "CaseAnalysisController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/services/decisionAnalysis/prediction/caseAnalysis/CaseAnalysisService.js',
                                    'js/controllers/decisionAnalysis/prediction/caseAnalysis/CaseAnalysisController.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //预警预报应用深化-传输影响分析
                .state('pollutantSourceList', {
                    url: "/decisionAnalysis/prediction/pollutantSource/list",
                    templateUrl: "views/decisionAnalysis/prediction/pollutantSource/list.html",
                    data: {
                        pageTitle: '传输影响分析',
                        pageBar: [
                            {
                                'class': 'icon-settings',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '预警预报应用深化'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '传输影响分析'
                            }
                        ]
                    },
                    controller: "PollutantSourceController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/services/decisionAnalysis/prediction/pollutantSource/PollutantSourceService.js',
                                    'js/controllers/decisionAnalysis/prediction/pollutantSource/PollutantSourceController.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/weather.js',
                                    'js/directives/echarts/map.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //预警预报应用深化-配置管理
                .state('deployManagement', {
                    url: "/decisionAnalysis/prediction/deployManagement/list",
                    templateUrl: "views/decisionAnalysis/prediction/deployManagement/list.html",
                    data: {
                        pageTitle: '配置管理',
                        pageBar: [
                            {'class': '', 'href': '', 'title': '决策分析'},
                            {'class': '', 'href': '', 'title': '预警预报应用深化'},
                            {'class': '', 'href': '', 'title': '配置管理'}
                        ]
                    },
                    controller: "DeployManagementController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/services/decisionAnalysis/prediction/deployManagement/DeployManagementService.js',
                                    'js/controllers/decisionAnalysis/prediction/deployManagement/DeployManagementController.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/line.js'
                                ]
                            });
                        }]
                    }
                })
                //环保智库服务-环保智库
                .state('thinkTank', {
                    url: "/decisionAnalysis/thinkTankService/thinkTank/list",
                    templateUrl: "views/decisionAnalysis/thinkTankService/thinkTank/list.html",
                    data: {
                        pageTitle: '环保智库',
                        pageBar: [
                            {
                                'class': 'icon-settings',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '环保智库服务'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '环保智库'
                            }
                        ]
                    },
                    controller: "ThinkTankController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/services/decisionAnalysis/thinkTankService/thinkTank/ThinkTankService.js',
                                    'js/controllers/decisionAnalysis/thinkTankService/thinkTank/ThinkTankController.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //环保智库服务-配置管理
                .state('deploy', {
                    url: "/decisionAnalysis/thinkTankService/deploy/list",
                    templateUrl: "views/decisionAnalysis/thinkTankService/deploy/list.html",
                    data: {
                        pageTitle: '配置管理',
                        pageBar: [
                            {
                                'class': 'icon-settings',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '环保智库服务'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '配置管理'
                            }
                        ]
                    },
                    controller: "DeployController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/services/decisionAnalysis/thinkTankService/deploy/DeployService.js',
                                    'js/controllers/decisionAnalysis/thinkTankService/deploy/DeployController.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/line.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
                //环保智库服务-统计
                .state('statistics', {
                    url: "/decisionAnalysis/thinkTankService/statistics/list",
                    templateUrl: "views/decisionAnalysis/thinkTankService/statistics/list.html",
                    data: {
                        pageTitle: '统计',
                        pageBar: [
                            {
                                'class': 'icon-settings',
                                'href': '',
                                'title': '决策分析'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '环保智库服务'
                            },
                            {
                                'class': '',
                                'href': '',
                                'title': '统计'
                            }
                        ]
                    },
                    controller: "StatisticsController",
                    resolve: {
                        deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                            return $ocLazyLoad.load({
                                name: 'MetronicApp',
                                insertBefore: '#ng_load_plugins_before',
                                files: [
                                    'js/services/decisionAnalysis/thinkTankService/statistics/StatisticsService.js',
                                    'js/controllers/decisionAnalysis/thinkTankService/statistics/StatisticsController.js',
                                    'bower_components/echarts/dist/echarts.js',
                                    'js/directives/echarts/statisticsBar.js',
                                    'js/directives/echarts/statisticsLine.js',
                                    'js/directives/customTab/directive.js'
                                ]
                            });
                        }]
                    }
                })
        }
    ]
)
;